﻿using System;
using System.Collections.Generic;
using System.Text;

namespace OnlineCourse.Model.Entity
{
    public class LikeCollection
    {
        public LikeCollection()
        {
            this.CreateDate = DateTime.Now;
        }

        public Guid Id { get; set; }
        /// <summary>
        /// 收藏课程Id
        /// </summary>
        public Guid CourseId { get; set; }
        public Course Course { get; set; }
        /// <summary>
        /// 收藏用户Idu
        /// </summary>
        public Guid UserId { get; set; }
        //public User User { get; set; }

        public DateTime CreateDate { get; set; }
    }
}
